<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>查看用户级别信息表明细</title>
</head>
<body>
<form>
    <table border="1">
        <tr><td colspan="2"><h1>查看用户级别信息表明细</h1></td></tr>
        <tr>
            <td>会员级别ID</td>
            <td>
                   <span id="customerLevel"></span>
            </td>
        </tr>
        <tr>
            <td>会员级别名称</td>
            <td>
                   <span id="levelName"></span>
            </td>
        </tr>
        <tr>
            <td>该级别最低积分</td>
            <td>
                   <span id="minPoint"></span>
            </td>
        </tr>
        <tr>
            <td>该级别最高积分</td>
            <td>
                   <span id="maxPoint"></span>
            </td>
        </tr>
        <tr>
            <td>最后修改时间</td>
            <td>
                   <span id="modifiedTime"></span>
            </td>
        </tr>
        <tr>
            <td>其他</td>
            <td>
                   <span id="other1"></span>
            </td>
        </tr>
        <tr>
            <td>其他</td>
            <td>
                   <span id="other2"></span>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <input type="button" id="fanhui" value="返回"/>
            </td>
        </tr>
    </table>
</form>
<script src="/js/jquery-1.12.4.js"></script>
<script>
    var param = location.href.substring(location.href.indexOf('?')+1);
    $.getJSON("/customerlevelinf/findById.json",param,function(detail){
        $("#customerLevel").text(detail.customerLevel);
        $("#levelName").text(detail.levelName);
        $("#minPoint").text(detail.minPoint);
        $("#maxPoint").text(detail.maxPoint);
        $("#modifiedTime").text(detail.modifiedTime);
        $("#other1").text(detail.other1);
        $("#other2").text(detail.other2);
    });
    $("#fanhui").click(function(){
        location.href="/admin/customerlevelinf/list.html";
    });
</script>

</body>
</html>